package com.example.webdatabinder.entity;

import java.util.Date;

public class User {
    // spring不是不能解析 string to date，而是默认解析格式为 yyyy/mm/dd，好多书上都写的有问题
    private Date mydate;
    private String name;

    public Date getMydate() {
        return mydate;
    }

    public void setMydate(Date mydate) {
        this.mydate = mydate;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}